import  React from 'react'


export  default  class  List  extends  React.Component {



    constructor(props) {
              super(props)
        
    }


    componentDidMount() {
        console.log(this.props.match.params)
    }


    render() {

        let {name,id}=this.props.match.params


        return(

            <div>
                List组件

                <h2>{name}-------{id}</h2>
            </div>
        )
    }
}